package com.wondersgroup.fjzlpt.console.utils;

import org.springframework.util.DigestUtils;


/**
 * 密码加密
 * Created by lion on 2017/5/14.
 */
public class PasswordEncryptUtils {

    /**
     * MD5加密
     * @param password
     * @return
     */
    public static String encryptPassowrdMd5(String password){

        return DigestUtils.md5DigestAsHex(password.getBytes());
    }
}
